﻿namespace MetadataDesignerLibrary
{
    public class RowNumber
    {
        public int First { get; private set; }
        public int Current { get; private set; }

        public RowNumber()
        {
            First = 1;
            Current = 1;
        }

        public int Increment()
        {
            return ++Current;
        }

        public void Next()
        {
            First = Current;
        }
    }
}